package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;
import java.util.Set;

public interface IPermissionService {
    List<Permission> selectAll();

    PageResult query(QueryObject qo);

    void insert(Permission record);

    void reload();

    Set<String> selectPermissionByEmployeeId(Long id);
}
